package at.technikum_wien.embsys.aat.PriscillaCore.event;

import java.rmi.dgc.Lease;




public class EventRegistration implements java.io.Serializable {
	
	private static final long serialVersionUID = 1L;
	
	long eventID;
	Object source;
	Lease lease;
	long sequenceNumber;
	
    public EventRegistration(long eventID, Object source, Lease lease, long seqNum) {
    	this.eventID = eventID;
    	this.source = source;
    	this.lease = lease;
    	this.sequenceNumber = seqNum;
    }
    
    public long getID() {
		return eventID;
	}
    public Object getSource() {
		return source;
	}
    public Lease getLease() {
		return lease;
	}
    public long getSequenceNumber() {
		return sequenceNumber;
	}
}